package cn.exrick.xboot.base.vo

import com.fasterxml.jackson.annotation.JsonFormat
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import org.springframework.format.annotation.DateTimeFormat
import java.util.*

@ApiModel("员工培训记录")
data class SecurityAdvisorTrainingInfoVo(

        @ApiModelProperty("企业员工培训信息")
        var enterpriseEmployeeTrainingVo: EnterpriseEmployeeTrainingVo? = null,

        @ApiModelProperty("培训开始时间")
        @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        var trainBeginTime: Date? = null,

        @ApiModelProperty("培训结束时间")
        @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        var trainEndTime: Date? = null,

        @ApiModelProperty("完成进度")
        var completeSchedule: String? = null
)